﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Principal;
using System.Text;
using System.Threading.Tasks;

namespace EdgeSearch.Core.Entity.LogDB
{
    [Tenant("LogDB")]
    [SugarTable("T_LogInfo")]
    public class LogInfo
    {
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)] //主键自增
        public int Id { get; set; }
        public int? ProjectID { get; set; }
        public int? UserID { get; set; }
        public string PageUrl { get; set; } = string.Empty;
        public string Method { get; set; } = string.Empty;
        public string ErrorMsg { get; set; } = string.Empty;
        public string ErrorLevel { get; set; } = string.Empty;
        public DateTime? CreateDate { get; set; } = DateTime.Now;
        public int? ErrorSource { get; set; } = 0;
        public string RqUserAgent { get; set; } = string.Empty;
    }
}
